/* 版心 */
.w {
    width: 1240px;
    margin: 0 auto;
}

.shopp-body {
    background-color: #f5f5f5;
}

/* 头部导航文字盒子样式 */
.xtx-toptext {
    padding: 25px 10px;
    font-size: 16px;
}

/* 链接文字 */
.xtx-toptext a {
    color: #616c6a;
}

/* 鼠标经过 */
.xtx-toptext a:hover {
    color: #27ba9b;
}

/* 商品详细信息模块 */
/* 大盒子 */
.xtx-shopp {
    width: 1240px;
    height: 600px;
    background-color: #ffffff;
    display: flex;
    /* padding-bottom: 20px; */
}

/* 左盒子 */
.xtx-shopp .shop-le {
    width: 580px;
    /* background-color: pink; */
    padding: 30px 50px;
}

/* 盒子图片 */
.xtx-shopp .shop-le .le-img {
    position: relative;
    width: 480px;
    height: 400px;
    display: flex;
    /* background-color: green; */
}

/* 大图片盒子 */
.xtx-shopp .shop-le .img-b {
    float: left;
    width: 400px;
    height: 400px;
    /* background-color: red; */
}

/* 遮罩层 */
.xtx-shopp .shop-le .img-b .layer {
    display: none;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    left: 0;
    top: 0;
    /* 不对鼠标事件做出反应 */
    pointer-events: none;
    cursor: move;
}

/* 遮罩层 */
.xtx-shopp .shop-le .le-img .large {
    width: 400px;
    height: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 412px;
    top: 0;
    z-index: 999;
    background-color: #fff;
    display: none;
    background-image: url(../images/1.jpg);
    background-size: 800px 800px;
}

/* 小图片盒子 */
.xtx-shopp .shop-le .img-s {
    width: 80px;
    padding-left: 12px;
}
/* .xtx-shop .shop-le .le-img .img-s a img.active {
    border: 2px solid #27ba9b;
} */
/* 图片添加下边框 */
.xtx-shopp .shop-le .img-s a {
    display: inline-block;
    margin-bottom: 15px;
}
.xtx-shopp .shop-le .img-s a:hover {
    border: 2px solid #27ba9b;
}
/* 选中最后一个取消下边框 */
.xtx-shopp .shop-le .img-s a:last-child {
    margin-bottom: 0;
}

.xtx-shopp .shop-le .img-s a:hover {
    border-color: #27ba9b;
}

/* 下面品牌信息 */
.xtx-shopp .shop-le .bto-datil {
    width: 400px;
    height: 140px;
    /* background-color: paleturquoise; */
}

/* 使用列表 */
.xtx-shopp .bto-datil ul {
    display: flex;
    width: 400;
    height: 140px;
    align-items: center;
}

/* 每个用自适应让内容居中 */
.xtx-shopp .bto-datil ul li {
    flex: 1;
    position: relative;
    text-align: center;
    font-size: 14px;
}

/* 列表里上中下文字信息样式 */
.xtx-shopp .bto-datil .datil-t {
    color: #999
}

.xtx-shopp .bto-datil .datil-m {
    color: #cf4444;
    margin: 10px 0;
}

.xtx-shopp .bto-datil ul li a {
    color: #666;
    cursor: pointer;
}

.xtx-shopp .bto-datil ul li a:hover {
    color: #27ba9b;
}

.xtx-shopp .bto-datil ul li em {
    font-size: 14px;
    color: #27ba9b;
}

/* 伪元素小竖线 */
.xtx-shopp .bto-datil ul li span {
    position: absolute;
    top: 10px;
    right: 5px;
    width: 1px;
    height: 60px;
    background-color: #e4e4e4;
}

/* 小图片盒子 */
/* 右盒子 */
.xtx-shopp .shop-rig {
    flex: 1;
    /* background-color: gold; */
    padding: 30px 30px 30px 0;
}

/* 标题 */
.xtx-shopp .shop-rig .rig-tile {
    font-size: 22px;
}

/* 标题介绍 */
.xtx-shopp .shop-rig .rig-tile-t {
    font-size: 14px;
    color: #999;
    margin: 10px 0;
}

/* 价格 */
.xtx-shopp .price .new-pric em {
    font-size: 14px;
    color: #cf4444;
}

.xtx-shopp .price .new-pric i {
    font-size: 20px;
    color: #cf4444;
    margin-right: 10px;
}

/* 旧价格 */
.xtx-shopp .price .old-pric {
    color: #999;
    text-decoration: line-through;
    font-size: 16px;
}

/* 服务板块 */
.xtx-shopp .shop-rig .serve {
    width: 500px;
    height: 149px;
    background-color: #f5f5f5;
    margin-top: 10px;
    padding: 20px 10px 0px;
}

/* 促销 */
.xtx-shopp .shop-rig .serve .sales-pro,
.xtx-shopp .shop-rig .serve .deliver-gods,
.xtx-shopp .shop-rig .serve .help {
    display: flex;
    /* 侧轴居中 */
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.xtx-shopp .shop-rig .serve .sales-pro dt,
.xtx-shopp .shop-rig .serve .deliver-gods dt,
.xtx-shopp .shop-rig .serve .help dt {
    width: 50px;
    color: #999;
}

.xtx-shopp .shop-rig .serve .sales-pro dd,
.xtx-shopp .shop-rig .serve .deliver-gods dd {
    color: #666;
}

/* 配送 */
.xtx-shopp .shop-rig .serve .deliver-gods select {
    margin-left: 8px;
}

/* 服务 */
.xtx-shopp .shop-rig .serve .help span {
    margin-right: 10px;
}

/* 前面小绿点 */
.xtx-shopp .shop-rig .serve .help span::before {
    content: '·';
    font-size: 18px;
    color: #27ba9b;
    margin-right: 5px;
}

/* 了解详细链接 */
.xtx-shopp .shop-rig .serve .help span a {
    color: #27ba9b;
}

/* 规格模块 */
.xtx-shopp .shop-rig .scale {
    display: flex;
    width: 500px;
    height: 85px;
    padding-left: 10px;
    padding-top: 20px;
    align-items: center;
}

.xtx-shopp .shop-rig .scale dt {
    font-size: 14px;
    color: #999;
    width: 50px;
}

.xtx-shopp .shop-rig .scale img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border: 1px solid #e4e4e4;
    cursor: pointer;
}

/* 数量模块 */
.xtx-shopp .shop-rig .num {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

/* 数量 */
.xtx-shopp .shop-rig .num dt {
    margin-left: 10px;
    font-size: 14px;
    color: #999;
    width: 50px;
}

/* 减 */
.xtx-shopp .shop-rig .num .nega-corr {
    width: 116px;
    display: flex;
    border: 1px solid #e4e4e4;
}

/* 加减号 */
.xtx-shopp .shop-rig .num .negative,
.xtx-shopp .shop-rig .num .correct {
    width: 28px;
    height: 29px;
    background-color: #f8f8f8;
    text-align: center;
    color: #979797;
}

/* 内容 */
.xtx-shopp .shop-rig .num input {
    text-align: center;
    width: 60px;
    border-left: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
}

/* 立即购买模块 */
.xtx-shopp .shop-rig .purchase a {
    display: block;
    width: 220px;
    height: 50px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    background-color: #27ba9b;
    color: #ffffff;
    line-height: 50px;
    margin-top: 25px;
}

/* 商品详细信息模块结束 */


/* 同类商品推荐模块 */
.xtx-carousel {
    height: 460px;
    background-color: #ffffff;
    margin: 20px;
}

/* 同类商品推荐盒子 */
.xtx-carousel .carou-head {
    height: 80px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 80px;
}

/* 前面图标 */
.xtx-carousel .carou-head i {
    position: relative;
    width: 18px;
    height: 18px;
    display: inline-block;
    border-top: 4px solid #27ba9b;
    border-right: 4px solid #27ba9b;
    margin-left: 15px;
    transform: rotate(45deg);
}

/* 伪元素配合图标 */
.xtx-carousel .carou-head i::before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 2px;
    background-color: #bcf1e6;
}

/* 字体样式 */
.xtx-carousel .carou-head span {
    font-size: 25px;
    margin-left: 5px;
}

/* 轮播图盒子 */
.xtx-carousel .carou-img {
    height: 380px;
    background-color: brown;
}
html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.carou-img .swiper {
    width: 100%;
    height: 100%;
}


.carou-img .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    /* padding:0 40px; */
}
.carou-img .swiper-slide .carou-first,
.carou-img .swiper-slide .carou-two,
.carou-img .swiper-slide .carou-three,
.carou-img .swiper-slide .carou-four {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
}
.carou-img .swiper-slide .carou-first .car-o,
.carou-img .swiper-slide .carou-two .car-o,
.carou-img .swiper-slide .carou-three .car-o,
.carou-img .swiper-slide .carou-four .car-o  {
    width: 240px;
    /* height: 300px; */
    /* background-color: brown; */
}
.carou-img .swiper-slide .carou-first .car-o img,
.carou-img .swiper-slide .carou-two .car-o img,
.carou-img .swiper-slide .carou-three .car-o img,
.carou-img .swiper-slide .carou-four .car-o img {
    padding: 20px;
    width: 230px;
    height: 230px;
}
.carou-img .swiper-slide .carou-first .car-o .name,
.carou-img .swiper-slide .carou-two .car-o .name,
.carou-img .swiper-slide .carou-three .car-o .name,
.carou-img .swiper-slide .carou-four .car-o .name {
    font-size: 16px;
    color: #666;
    padding: 0 40px;
}
.carou-img .swiper-slide .carou-first .car-o .price, 
.carou-img .swiper-slide .carou-two .car-o .price,
.carou-img .swiper-slide .carou-three .car-o .price,
.carou-img .swiper-slide .carou-four .car-o .price{
    font-size: 16px;
    color: #cf4444;
    margin-top: 15px;
}
/* 轮播图结束 */
/* 轮播图内容 */

/* 同类商品推荐模块 */









/* 商品详细内容模块 */
.xtx-product-detail {
    display: flex;
    margin-top: 20px;
    /* justify-content: space-between; */
}

/* 左边盒子 */
.xtx-product-detail .main {
    width: 942px;
    margin-right: 20px;
}

/* 左边盒子上面盒子 */
.xtx-product-detail .main .cont {
    background: #fff;
}

/* 头部标题内容样式 */
.xtx-product-detail .main .cont .tab-head {
    height: 70px;
    line-height: 70px;
    border-bottom: 1px solid #f5f5f5;
}

/* 文字样式 */
.xtx-product-detail .main .cont .tab-head a {
    display: inline-block;
    padding: 0 40px;
    font-size: 18px;
    color: #333333;
    height: 70px;
}

/* 选择第一个添加边框 */
.xtx-product-detail .main .cont .tab-head a:first-child {
    border-right: 1px solid #f5f5f5;
}

/* 评价数量字体颜色 */
.xtx-product-detail .main .cont .tab-head a span {
    color: #CF4444;
}

/* 下面图片盒子 */
/* 容量模块 */

.xtx-product-detail .tab-pane ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.xtx-product-detail .tab-pane li {
    display: flex;
    margin-bottom: 10px;
    width: 50%;
}

.xtx-product-detail .main .cont .dt {
    width: 100px;
    color: #999;
}

.xtx-product-detail .main .cont .dd {
    flex: 1;
    color: #666666
}

/* 注意事项 */
/* 背景颜色 */
.xtx-product-detail .main .warn {
    margin-top: 20px;
    background: #ffffff;
    padding-bottom: 40px;
}

/* 文字样式 */
.xtx-product-detail .main .warn h3 {
    height: 80px;
    line-height: 80px;
    border-bottom: 1px solid #f5f5f5;
    padding-left: 50px;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
}

.xtx-product-detail .main .warn p {
    line-height: 40px;
    padding-left: 25px;
    color: #666;
}

.xtx-product-detail .main .warn p.tit {
    color: #333;
}

/* 商品详细内容模块结束 */



/* 商品详细/评价内容模块 */
/* 购买统计盒子 */
.xtx-product-detail .tab-pane .goodss-top {
    display: flex;
    width: 940px;
    height: 184px;
    padding: 30px 0;
    margin: 0;
    /* background-color: pink; */
}

/* 左侧统计盒子 */
.xtx-product-detail .tab-pane .goodss-top .goodss-t-le {
    display: flex;
    width: 340px;
    height: 124px;
    /* background-color: gold; */
    border-right: 1px solid #f5f5f5;
    padding: 20px;
}

/* 文字内容居中 */
.xtx-product-detail .tab-pane .goodss-top .goodss-t-le p {
    flex: 1;
    text-align: center;
    /* background-color: brown; */
}

/* 文字样式 */
.xtx-product-detail .tab-pane .goodss-top .goodss-t-le .txt-o {
    font-size: 32px;
    color: #CF4444;
}

.xtx-product-detail .tab-pane .goodss-top .goodss-t-le .txt-t {
    font-size: 14px;
    color: #999;
}

/* 右侧大家都在说 */
.xtx-product-detail .tab-pane .goodss-t-rig {
    width: 560px;
    height: 124px;
    /* background-color: brown; */
    display: flex;
}

/* 大家都在说 */
.xtx-product-detail .tab-pane .goodss-t-rig .gods-rig-le {
    font-weight: 700;
    width: 100px;
    text-align: right;
    line-height: 42px;
}

/* 右侧分类 */
.xtx-product-detail .tab-pane .goodss-t-rig .gods-rig-rig {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

/* a的样式 */
.xtx-product-detail .tab-pane .goodss-t-rig .gods-rig-rig a {
    width: 132px;
    height: 42px;
    margin-left: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
    background-color: #f5f5f5;
    color: #999;
    text-align: center;
    line-height: 42px;
}

/* 鼠标经过变色 */
.xtx-product-detail .tab-pane .goodss-t-rig .gods-rig-rig a:hover {
    border-color: #27ba9b;
    background-color: #27ba9b;
    color: #fff;
}

/* 排序分类 */
.xtx-product-detail .tab-pane .goodss-m {
    height: 60px;
    line-height: 60px;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    padding: 0 20px;
    color: #666;
}

/* 最新状态样式 */
.xtx-product-detail .tab-pane .goodss-m a {
    margin-left: 30px;
    font-size: 14px;
    color: #333333
}

/* 鼠标经过 */
.xtx-product-detail .tab-pane .goodss-m a:hover {
    color: #27ba9b;
}

/* 评价 */
.xtx-product-detail .tab-pane .goodss-b {
    display: flex;
    padding: 25px 20px;
    border-bottom: 1px solid #f5f5f5;
}

/* 用户信息盒子 */
.xtx-product-detail .tab-pane .goodss-b .gods-user {
    width: 160px;
}

/* 头像大小 */
.xtx-product-detail .tab-pane .goodss-b .gods-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

/* 用户名信息 */
.xtx-product-detail .tab-pane .goodss-b .gods-user span {
    color: #666;
    margin-left: 10px;
}

/* 右侧评论 */
.xtx-product-detail .tab-pane .goodss-b .gods-dody .gods-bb-h {
    line-height: 40px;
    /* background-color: pink; */
}

/* 小星星样式 */
.xtx-product-detail .tab-pane .goodss-b .gods-dody .gods-bb-h span {
    color: #ff9240;
}

/* 产品颜色 */
.xtx-product-detail .tab-pane .goodss-b .gods-dody .gods-bb-h i {
    font-size: 14px;
}

/* 评价 */
.xtx-product-detail .tab-pane .goodss-b .gods-dody .gods-bb-txt {
    color: #666;
    line-height: 24px;
    /* background-color: brown; */
    font-size: 14px;
}

/* 评论图片 */
.xtx-product-detail .tab-pane .goodss-b .gods-dody .gods-bb-img {
    display: flex;
    flex-wrap: wrap;
}

/* 每个图片盒子的大小 */
.xtx-product-detail .tab-pane .goodss-b .gods-dody .gods-bb-img a {
    width: 120px;
    height: 120px;
    margin-right: 20px;
    border: 1px solid #e4e4e4;
}

/* 规定图片大小 */
.xtx-product-detail .tab-pane .goodss-b .gods-dody .gods-bb-img a img {
    width: 100%;
    height: 100%;
}

/* 评论时间 */
.xtx-product-detail .tab-pane .goodss-b .gods-dody .gods-b-time {
    color: #999;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    /* background-color: gold; */
}

/* 翻页 */
.xtx-product-detail .tab-pane .goodss-page {
    display: flex;
    justify-content: center;
    padding: 30px;
    /* background-color: gold; */
}

/* 上一页/下一页样式 */
.xtx-product-detail .tab-pane .goodss-page .long {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    margin-right: 10px;
    color: #333333;
}

/* 禁用类 */
.disabled {
    cursor: not-allowed;
    opacity: 4;
}

/* 添加边框 */
.xtx-product-detail .tab-pane .goodss-page a.active {
    border-color: #27ba9b;
    color: #27ba9b;
}

/* 1-5页样式 */
.xtx-product-detail .tab-pane .goodss-page .duan {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    margin-right: 10px;
    color: #333333;
}

/* 选中从第二个开始字体变色 */
.xtx-product-detail .tab-pane .goodss-page a:nth-child(n+2):hover {
    color: #27ba9b;
}

/* 商品详细/评价模块结束 */




/* 右侧盒子 */
/* 热销榜模块 */
.xtx-product-detail .aside {
    width: 278px;
}

/* 热销榜 */
.xtx-product-detail .aside .tit {
    width: 278px;
    height: 70px;
    background: #E26237;
    color: #fff;
    font-size: 18px;
    line-height: 70px;
    padding-left: 25px;
    margin-bottom: 10px;
}

/* 产品盒子 */
.xtx-product-detail .aside .product {
    margin-bottom: 10px;
    background: #fff;
    width: 278px;
    height: 340px;
    text-align: center;
}

/* 图片大小 */
.xtx-product-detail .aside .product img {
    width: 190px;
    height: 190px;
    margin-top: 25px;
}

/* 产品标题 */
.xtx-product-detail .aside .product .name {
    font-size: 16px;
    margin-top: 10px;
}

/* 产品介绍 */
.xtx-product-detail .aside .product .desc {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 产品价格 */
.xtx-product-detail .aside .product .price {
    color: #CF4444;
    font-size: 18px;
    line-height: 50px;
}

/* 专题推荐 */
.xtx-product-detail .aside .special {
    background: #fff;
    text-align: center;
    margin-bottom: 10px;
}

/* 图片 */
.xtx-product-detail .aside .special img {
    width: 278px;
    height: 212px;
}

/* 名字 */
.xtx-product-detail .aside .special .name {
    font-size: 18px;
    padding: 24px 0;
}


.xtx-shopp .shop-le .le-img .img-s img:hover {
    border-color: #27ba9b;
}

/* 边框颜色 */
.xtx-shopp .shop-rig .scale img.borColor {
    border-color: #27ba9b;
}

/* 图片边框颜色 */
/* 内边距 */
.padding-four {
    padding: 40px;
}

/* 外边距 */
.zxcvbn {
    height: 20px;
}

/* 轮播图 */
html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide img {
    display: block;
    width: 100%;
}